[][src]Crate carapax

A Telegram Bot framework

Re-exports

pub use tgbot as core;

Modules

context

Context for handlers

prelude

A convenience "prelude" for users of the framework

Structs

App

A Telegram Bot application

CommandsHandler

A simple commands handler

FnHandler

A function handler

HandlerFuture

A future that drives a handler's execution.

TextHandler

A rules based message text handler

Enums

CommandError

An error occurred when parsing command arguments

ErrorStrategy

Defines how to deal with errors in handlers

HandlerResult

Result of a handler

Traits

CommandHandler

A command handler trait

FromUpdate

Allows to create an input for a handler from given update

Handler

An update handler

TextRule

Rule for text handler